package com.ruoyi.purchase.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * inventory对象 inventory
 * 
 * @author ruoyi
 * @date 2025-08-22
 */
public class Inventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** product_id */
    @Excel(name = "product_id")
    private Long productId;

    /** Name */
    @Excel(name = "Name")
    private String name;

    /** Condition */
    private String conditions;

    /** Price */
    private BigDecimal price;

    /** ASIN */
    private String asin;

    /** UPC */
    private String upc;

    /** Weight */
    private BigDecimal weight;

    /** Note */
    private String note;

    /** supplier_id */
    @Excel(name = "supplier_id")
    private Long supplierId;

    /** tracking */
    private String tracking;

    /** sn */
    private String sn;

    /** INBD */
    @Excel(name = "INBD")
    private Long inbd;

    /** FBM */
    @Excel(name = "FBM")
    private Long fbm;

    /** FBA */
    @Excel(name = "FBA")
    private Long fba;

    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setConditions(String conditions)
    {
        this.conditions = conditions;
    }

    public String getConditions()
    {
        return conditions;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setAsin(String asin) 
    {
        this.asin = asin;
    }

    public String getAsin() 
    {
        return asin;
    }

    public void setUpc(String upc) 
    {
        this.upc = upc;
    }

    public String getUpc() 
    {
        return upc;
    }

    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }

    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public void setTracking(String tracking) 
    {
        this.tracking = tracking;
    }

    public String getTracking() 
    {
        return tracking;
    }

    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }

    public void setInbd(Long inbd) 
    {
        this.inbd = inbd;
    }

    public Long getInbd() 
    {
        return inbd;
    }

    public void setFbm(Long fbm) 
    {
        this.fbm = fbm;
    }

    public Long getFbm() 
    {
        return fbm;
    }

    public void setFba(Long fba) 
    {
        this.fba = fba;
    }

    public Long getFba() 
    {
        return fba;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productId", getProductId())
            .append("name", getName())
            .append("conditions", getConditions())
            .append("price", getPrice())
            .append("asin", getAsin())
            .append("upc", getUpc())
            .append("weight", getWeight())
            .append("note", getNote())
            .append("supplierId", getSupplierId())
            .append("tracking", getTracking())
            .append("sn", getSn())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("inbd", getInbd())
            .append("fbm", getFbm())
            .append("fba", getFba())
            .toString();
    }
}
